﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

/**
 * 创建时间：2014/11/27 15:52:10
 * 作者：yong.blackcore
 * Email：itblackhole@outlook.com
 * QQ：50404503
 */
namespace ComicIsland.Common.Entities.InterfaceJson
{
    [DataContract]
    public class JsonBookStoreAlbumBase
    {

        [DataMember(Name = "code_msg")]
        public string CodeMsg { get; set; }

        [DataMember(Name = "code")]
        public int Code { get; set; }

        [DataMember(Name = "info")]
        public ObservableCollection<JsonBookStoreAlbumInfo> Info { get; set; }
    }


    [DataContract]
    public class JsonBookStoreAlbumInfo
    {

        [DataMember(Name = "targetmethod")]
        public int Targetmethod { get; set; }

        [DataMember(Name = "bigbooksjson")]
        public string Bigbooksjson { get; set; }

        [IgnoreDataMember]
        public ObservableCollection<JsonBookStoreAlbumInfoAreaBlock> Bigbooks { get; set; }

        [DataMember(Name = "id")]
        public int Id { get; set; }

        [DataMember(Name = "targetargument")]
        public string Targetargument { get; set; }

        [DataMember(Name = "name")]
        public string Name { get; set; }
    }

    [DataContract]
    public class JsonBookStoreAlbumInfoAreaBlock
    {

        [DataMember(Name = "bigbookid")]
        public int Bigbookid { get; set; }

        [DataMember(Name = "name")]
        public string Name { get; set; }

        [DataMember(Name = "progresstype")]
        public int Progresstype { get; set; }

        [DataMember(Name = "coverurl")]
        public string Coverurl { get; set; }

        [DataMember(Name = "lastpartname")]
        public string Lastpartname { get; set; }
    }

   
}
